//
//  PublicDefine.h
//  PAMobileWallet
//
//  Created by Pay_SMP002 on 13-7-5.
//  Copyright (c) 2013年 平安付. All rights reserved.
//

#ifndef PAMobileWallet_PublicDefine_h
#define PAMobileWallet_PublicDefine_h

/** iPhone 屏幕高度 3.5和4寸屏 */
#define HEIGHT_3_5in  480
#define HEIGHT_4in    568
#define HEIGHT_PHONE [[UIScreen mainScreen] bounds].size.height
#define HEIGHT_CURRENT (HEIGHT_PHONE == HEIGHT_4in) ? HEIGHT_4in : HEIGHT_3_5in

#define WIDTH_PHONE   320

#define RECT_PHONE    CGRectMake(0, 20, WIDTH_PHONE, HEIGHT_CURRENT - 20)


#endif


#define iPhone5 ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 1136), [[UIScreen mainScreen] currentMode].size) : NO)

#define HEIGHT_COMPAR  (480.00/568.00)   //iphone4和iphone5的比例

#define HEIGHT_LOGINIMAGE  90    //登录界面上边显示的背景图
#define JULI_LOGINTF       15     //登录TF空间离左边的距离
#define JULI_LOGINBT       (640-578)/4     //登录BT空间离左边的距离

#define SIZE_SELF          CGSizeMake(640/2, iPhone5?548:460)
#define SIZE_LOGINTF       CGSizeMake(580/2, 100/2)
#define SIZE_LOGINbUTTON   CGSizeMake(578/2, 98/2)

#define CELL_TITLE_WIDTH     100   //cell中title的宽度 注册界面
#define CELL_TITLE_FONT      14.0f //cell中title的字体 注册界面
#define TEXTFIELD_SIZE      CGSizeMake(578/2, 100/2)
